//
//  MoreOptionTableViewCell.swift
//  SmartPenSwift
//
//  Created by tql on 2021/3/3.
//

import UIKit

class MoreOptionTableViewCell: UITableViewCell {

    private var _name : String = ""
    var name : String {
        get{
            
            return _name
        }
        set{
            _name = newValue
        }
    }
    
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        if selected {
            self.imageView?.image = UIImage.init(named: _name + "_HL")
        }else{
            self.imageView?.image = UIImage.init(named: _name + "_N")
        }
        
    }

}
